#
#	2007-11-10 Duzy Chan<duzy@duzy.info>
#

ifeq ($(orign YISC_DIR),undefined)
  $(error Error: variable YISC_DIR must be defined!)
endif
include $(YISC_DIR)/global.mak

EXTRA_SRC = $(wildcard win32/*$(EXT_SRC))
SOURCES += $(EXTRA_SRC)
OBJECTS += $(EXTRA_SRC:$(EXT_SRC)=$(EXT_OBJ))

PHONY += all
all:

PHONY += unit-test
PHONY += unit-tests
unit-test: unit-tests
unit-tests: $(UNIT_TESTS)
	$(call do_unit_test)

%.test: %.t.o $(OBJECTS)
	$(LINK) -o $@ $^
	cp -uf $@ $@.exe

%.t.o: %.t
	$(COMPILE) -x c++ -o $@ $<

.PHONY: $(PHONY)



